package com.moji.service;

import com.moji.common.entity.MyPage;
import com.moji.entity.MjSupportHelp;
import com.baomidou.mybatisplus.extension.service.IService;
import com.moji.entity.dto.QuerySupportHelpDto;

import java.util.Map;

/**
 * <p>
 * 支持与帮助表 服务类
 * </p>
 *
 * @author ccl
 * @since 2024-07-20
 */
public interface MjSupportHelpService extends IService<MjSupportHelp> {

    /** 分页查询 **/
    MyPage<MjSupportHelp> queryByPage(QuerySupportHelpDto dto);

    /** 删除 **/
    boolean delete(Long id);

    /** 新增 **/
    boolean add(MjSupportHelp mjSupportHelp);

    /** 编辑 **/
    boolean edit(MjSupportHelp mjSupportHelp);

    /** 详情 **/
    MjSupportHelp detail(Long id);

    /** 启用禁用 **/
    boolean prOnOff(Long id, String prOnOff);

    /** 下载 **/
    Map<String,String> down(Long id);
}
